package top.gcl.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.gcl.entity.Goods;

import java.util.List;

@Mapper
public interface GoodsMapper {
    public void createGoods(Goods nl);
    public Goods getGoodsById(String id);
    public List<Goods> getGoodsAll();
    public List<Goods> list();
    public int updateLikeById(@Param("id")String id,@Param("like") int like);



}